home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / T0501 / text0045.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  800 b   |  17 lines

  1. On Mon, 29 Apr 1996, Magnus Kollberg wrote:
  2.  
  3. > > In order to be able to shade / lighten / darken textures with distance etc, we
  4. > > must generate a table of colour entries - 64 levels of 256 colours each. This is
  5. > > 64*256 words, or 64*256*2 bytes, or 32k PER PALETTE. If we have 4 palettes in the
  6. > > game then we need 128k just for colours - that's before you count the textures which
  7. > > are already width*height bytes when in memory.
  8. > But we could also use only 32 or 16 levels for each texture, but then again it might
  9. > look worse then using 64 levels and one maybe two palettes?
  10.  
  11. I think 4-8 palettes would be enough, it's still FAR ahead what you can 
  12. do in DOOM, as they need the shading colours in the palette as well.
  13.  
  14. Greetings,  Anders Eriksson - ae@kuai.se - Dead Hackers Society
  15.  
  16.